package com.wangxinenpu.springbootdemo.dataobject.dto.role;

import com.wangxinenpu.springbootdemo.dataobject.vo.root.PageVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
public class RoleDto extends PageVO {

	@ApiModelProperty ( value = "ID" )
	private String id;

	@ApiModelProperty ( "角色名称" )
	@NotBlank ( message = "角色名称不能为空" )
	private String roleName;

	@ApiModelProperty ( "角色CODE" )
	@NotBlank ( message = "角色名称不能为空" )
	private String roleCode;

	@ApiModelProperty ( "角色所属组织ID" )
	private String orgId;

	@ApiModelProperty ( "备注" )
	private String remark;
}
